using System;

using Actions.Security;
using Actions.Connectors;

namespace Actions.Usecases
{
	/// <summary>
	/// Description of Logout.
	/// </summary>
	public class UCLogout : BaseUsecase
	{
		public UCLogout() : base()
		{}
		
		protected override void process(ref IConnector c, SecurityAgent sa)
		{
			base.process(ref c, sa);
			
			sa.userLogOut(ref c);
			goToLink("/");
		}
	}
}
